#ifndef __SD3078_H__
#define __SD3078_H__

#include "RealTimeClockDefine.h"

//初始化
void SD3078_Init(void);
void SD3078_SetBCDTime(TimeBCD* bcdTime);
void SD3078_GetBCDTime(TimeBCD* bcdTime);

int SD3078_WriteRegs(unsigned char sreg, unsigned char *buf, unsigned short len);
int SD3078_ReadRegs(unsigned char sreg, unsigned char *buf, unsigned char len);

#endif
